Optimal. Leaf size=62 \[ -\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2}+10 a^3 b^2 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {272, 45}
\begin {gather*} -\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+10 a^3 b^2 \log (x)+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 45
Rule 272
Rubi steps
\begin {align*} \int \frac {\left (a+b \sqrt {x}\right )^5}{x^2} \, dx &=2 \text {Subst}\left (\int \frac {(a+b x)^5}{x^3} \, dx,x,\sqrt {x}\right )\\ &=2 \text {Subst}\left (\int \left (10 a^2 b^3+\frac {a^5}{x^3}+\frac {5 a^4 b}{x^2}+\frac {10 a^3 b^2}{x}+5 a b^4 x+b^5 x^2\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2}+10 a^3 b^2 \log (x)\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 62, normalized size = 1.00 \begin {gather*} -\frac {a^5}{x}-\frac {10 a^4 b}{\sqrt {x}}+20 a^2 b^3 \sqrt {x}+5 a b^4 x+\frac {2}{3} b^5 x^{3/2}+10 a^3 b^2 \log (x) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.18, size = 55, normalized size = 0.89
method | result | size |
derivativedivides | \(-\frac {a^{5}}{x}+5 a \,b^{4} x +\frac {2 b^{5} x^{\frac {3}{2}}}{3}+10 a^{3} b^{2} \ln \left (x \right )-\frac {10 a^{4} b}{\sqrt {x}}+20 a^{2} b^{3} \sqrt {x}\) | \(55\) |
default | \(-\frac {a^{5}}{x}+5 a \,b^{4} x +\frac {2 b^{5} x^{\frac {3}{2}}}{3}+10 a^{3} b^{2} \ln \left (x \right )-\frac {10 a^{4} b}{\sqrt {x}}+20 a^{2} b^{3} \sqrt {x}\) | \(55\) |
trager | \(\frac {\left (x -1\right ) \left (5 b^{4} x +a^{4}\right ) a}{x}-\frac {2 \left (-b^{4} x^{2}-30 a^{2} b^{2} x +15 a^{4}\right ) b}{3 \sqrt {x}}-10 a^{3} b^{2} \ln \left (\frac {1}{x}\right )\) | \(61\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.30, size = 55, normalized size = 0.89 \begin {gather*} \frac {2}{3} \, b^{5} x^{\frac {3}{2}} + 5 \, a b^{4} x + 10 \, a^{3} b^{2} \log \left (x\right ) + 20 \, a^{2} b^{3} \sqrt {x} - \frac {10 \, a^{4} b \sqrt {x} + a^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.35, size = 61, normalized size = 0.98 \begin {gather*} \frac {15 \, a b^{4} x^{2} + 60 \, a^{3} b^{2} x \log \left (\sqrt {x}\right ) - 3 \, a^{5} + 2 \, {\left (b^{5} x^{2} + 30 \, a^{2} b^{3} x - 15 \, a^{4} b\right )} \sqrt {x}}{3 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.18, size = 61, normalized size = 0.98 \begin {gather*} - \frac {a^{5}}{x} - \frac {10 a^{4} b}{\sqrt {x}} + 10 a^{3} b^{2} \log {\left (x \right )} + 20 a^{2} b^{3} \sqrt {x} + 5 a b^{4} x + \frac {2 b^{5} x^{\frac {3}{2}}}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.50, size = 56, normalized size = 0.90 \begin {gather*} \frac {2}{3} \, b^{5} x^{\frac {3}{2}} + 5 \, a b^{4} x + 10 \, a^{3} b^{2} \log \left ({\left | x \right |}\right ) + 20 \, a^{2} b^{3} \sqrt {x} - \frac {10 \, a^{4} b \sqrt {x} + a^{5}}{x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.03, size = 57, normalized size = 0.92 \begin {gather*} \frac {2\,b^5\,x^{3/2}}{3}-\frac {a^5+10\,a^4\,b\,\sqrt {x}}{x}+20\,a^3\,b^2\,\ln \left (\sqrt {x}\right )+20\,a^2\,b^3\,\sqrt {x}+5\,a\,b^4\,x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________